package main

import (
	"fmt"
	"strconv"
	"time"
)
//goroutine
func main(){
	go test()
	for i:=1;i<=10;i++{
		fmt.Println("main() hello world" + strconv.Itoa(i))
		time.Sleep(time.Second)
	}
}

func test(){
	for i:=1;i<=10;i++{
		fmt.Println("test() hello world" + strconv.Itoa(i))
		time.Sleep(time.Second)
	}
}